import type { LoginParams } from "@/types/user"
import { request } from "@/utils/reuqest"

// 登录请求
export const loginApi = async(data:LoginParams)=>{
    try{
        return request<{token:string}>('/park/login','POST',data)
    }catch(e){
    }

}